export function userRoleExplain(roleId) {
  var allRole = [
    { value: 9, label: '超级管理员' },
    { value: 5, label: '管理员' },
    { value: 0, label: '普通账号' }
  ]

  if (roleId === undefined || (roleId !== 0 && roleId !== 5 && roleId !== 9)) {
    return allRole
  } else {
    for (var i in allRole) {
      if (roleId === allRole[i].value) {
        return allRole[i].label
      }
    }
  }
}
